package com.zzedu.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzedu.domain.ZzClassesSendStudent;
import com.zzedu.dto.ZzClassesSendStudentDTO;

import java.util.Map;

/**
 * 班级课程解锁记录Service接口
 *
 * @author Mr.Wang
 * @date 2025-08-30
 */
public interface IZzClassesSendStudentService extends IService<ZzClassesSendStudent> {
    /**
     * 构造查询条件
     */
    public LambdaQueryWrapper<ZzClassesSendStudent> buildQuery(ZzClassesSendStudentDTO zzClassesSendStudentDTO);

    /**
     *  老师-派发作业列表
     * @param page
     * @param classId
     * @param bookId
     * @return
     */
    public IPage<Map<String, Object>> queryStudentsByClassIdAndBookId(
            IPage page,
            Long classId,
            Long bookId
    );
}
